import { getCityDataApi } from "../../utils/api";

const actions = {
  // 异步请求城市列表数据
  async getCityListAsync({ commit }) {
    const res = await getCityDataApi();
    commit("getCityList", res);
  },
};

export default actions;
